sum of natural numbers python